<template>
  <div class="app-container">
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="待申购审核" name="1" ref="pendingSubscriptionReview">
        <pendingSubscriptionReview v-if="activeName == '1'" />
      </el-tab-pane>
      <el-tab-pane
        label="历史审核记录"
        name="2"
        ref="historicalSubscriptionReview"
      >
        <historicalSubscriptionReview v-if="activeName == '2'" />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import pendingSubscriptionReview from "./pendingSubscriptionReview/index.vue";
import historicalSubscriptionReview from "./historicalSubscriptionReview/index.vue";
export default {
  components: { pendingSubscriptionReview, historicalSubscriptionReview },
  data() {
    return {
      activeName: "1"
    };
  },
  methods: {
    handleClick() {}
  }
};
</script>
